package com.viviet.mobileservices.dao;

import java.util.List;

import com.viviet.mobileservices.dao.entity.VMCashflow;

/**
 * A data access object (DAO) providing persistence and search support for
 * BoCashflow entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see .BoCashflow
 * @author MyEclipse Persistence Tools
 */

public interface IVMCashflowDAO {

	public void save(VMCashflow transientInstance);

	public void delete(VMCashflow persistentInstance);

	public VMCashflow findById(java.lang.String id);

	public List<VMCashflow> findByProperty(String propertyName, Object value);

	public List<VMCashflow> findByCustomerId(Object customerId);

	public List<VMCashflow> findByEventDate(Object eventDate);

	public List<VMCashflow> findByValueDate(Object valueDate);

	public List<VMCashflow> findByCashflowType(Object cashflowType);

	public List<VMCashflow> findByCashflowAmount(Object cashflowAmount);

	public List<VMCashflow> findByCashBalance(Object cashBalance);

	public List<VMCashflow> findByProductId(Object productId);

	public List<VMCashflow> findByCurrencyCode(Object currencyCode);

	public List<VMCashflow> findByRate(Object rate);

	public List<VMCashflow> findByTax(Object tax);

	public List<VMCashflow> findBySourceType(Object sourceType);

	public List<VMCashflow> findBySourceId(Object sourceId);

	public List<VMCashflow> findByActiveFlag(Object activeFlag);

	public List<VMCashflow> findAll();

	public VMCashflow merge(VMCashflow detachedInstance);

	public void attachDirty(VMCashflow instance);

	public void attachClean(VMCashflow instance);
}